import http from '@/utils/httpRequest'
export function policy () {
  return new Promise((resolve, reject) => {
    http({
      // url: 'http://localhost:7070/oss/policy',
      //此时完整的url为 http://localhost:5050/api/service/oss/policy
      url: http.adornUrl("/service/oss/policy"),
      method: 'get',
      params: http.adornParams({})
    }).then(({ data }) => {
      resolve(data)
    })
  })
}
